// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Iview from 'iview'
import store from './store'
import axios from './assets/js/api'
Vue.prototype.$ajax = axios; //vue的原型属性

Vue.config.productionTip = false /*设置为 false 以阻止 vue 在启动时生成生产提示。*/

import 'iview/dist/styles/iview.css'
Vue.use(Iview)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
